﻿namespace Charades.Web.Helpers
{
	using System;
	using Elmah;

	/// <summary>
	/// Simple wrapper for Elmah logger.
	/// </summary>
	public static class ElmahLogger
	{
		public static void LogMessage(String message)
		{
			ErrorLog.GetDefault(null).Log(new Error(new Exception(message)));
		}
	}
}